package com.ruoyi.redis;

/**
 * @ClassName RedisConst
 * @Description  redis常量类
 * @Author Small
 * @Date 2020/9/25 11:35
 * @Version 1.0
 **/
public class RedisConst {

    /**
     * 六年免检订单确认完成队列
     */
    public static final String QUEUE_SIX_YEAR_ORDER = "QUEUE_SIX_YEAR_ORDER";
    /**
     * 订单超时自动取消队列
     */
    public static final String QUEUE_ORDER_PAY = "QUEUE_ORDER_PAY";

    /**
     * 驾驶员当前操作的订单
     */
    public static final  String DRIVER_ORDER_PRE = "driver_order:";



    public static String getDriverOrderPre(Long driverId){
        return DRIVER_ORDER_PRE +driverId;
    }

}
